package com.spring;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description:
 * Copyright:   Copyright (c)2019
 * Company:     zefu
 *
 * @author: 张李鑫
 * @version: 1.0
 * Create at:   2022-02-17 10:00:32
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2022-02-17     张李鑫                     1.0         1.0 Version
 */
@SpringBootApplication(scanBasePackages = "com.spring")
@MapperScan("com.spring.dao")
public class Application {
    public static void main(String[] args) {
        try {

            new SpringApplication(Application.class).run(args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
